Event.observe(window, 'load', function() {
	
	MainForm = $('frmBuscar');
	
}); 


function doBuscar (){
	MainForm.submit();
}


function selectedRow(cell){
	
	var id = cell.parentNode.parentNode.getAttribute("articuloId");
	doSubmit('articulo.htm','vista', {articuloId: id});
	
}